function varargout = TLLookupndinterpidxDlg(action, varargin)

% TL_LOOKUPNDINTERPIDX_DLG manages the user interface for TargetLink LookupNDInterpIdx block
%
% SYNTAX dlgInfo = tl_lookupndinteridx_dlg('GetDlgInfo');
%   gets dialog info of TargetLink LookupNDInterpIdx block
%
%   INPUT ARGUMENTS
%   -/-      
%
%   OUTPUT ARGUMENTS
%   dlgInfo     dialog information contains pageNames etc.
%
% SYNTAX [sheetDims, ctrlPos] = tl_lookupndinteridx_dlg('CtrlPositions', pageName, commonGeom, dlgInfo, sheetDims);
%   calculates the cotrol positions of all controls of dialog page: <pageName>
%
%   INPUT ARGUMENTS
%   pageName        name of current page
%   commonGeom      common geometry data
%   dlgInfo         dialog information contains pageNames etc.
%   sheetDims       dimension of sheet
%
%   OUTPUT ARGUMENTS
%   sheetDims       modified dimension of sheet
%   ctrlPos         positions of controls
%
% SYNTAX dlgdata = tl_lookupndinteridx_dlg('Create', pageName, dlgfig, dlgdata);
%   creates all controls of dialog page: <pageName>
%
%   INPUT ARGUMENTS
%   pageName        name of current page
%   dlgfig          figure handle
%   dlgdata         dialog data
%
%   OUTPUT ARGUMENTS
%   dlgdata         modified dialog data
%
% SYNTAX [dlgdata,bModified] = tl_lookupndinteridx_dlg('Manage', pageName, dlgfig, dlgdata, pageAction);
%   manage all actions of dialog page: <pageName>
%
%   INPUT ARGUMENTS
%   pageName        name of current page
%   dlgfig          figure handle
%   dlgdata         dialog data
%   pageAction      modified control of current page
%
%   OUTPUT ARGUMENTS
%   dlgdata         modified dialog data
%   bModified       flag = 1, if dialog data are modified, =0 otherwise
%
% SYNTAX dlgdata = tl_lookupndinteridx_dlg('Update', dlgfig, dlgdata, pageNum);
%   updates all controls of dialog page: <pageNum>
%
%   INPUT ARGUMENTS
%   dlgfig          figure handle
%   dlgdata         dialog data
%   pageNum         number of current page
%
%   OUTPUT ARGUMENTS
%   dlgdata         modified dialog data
%
% SYNTAX tl_lookupndinteridx_dlg('Apply', dlgfig, dlgdata);
%   writes current blockdata to block and DD
%
%   INPUT ARGUMENTS
%   dlgfig      handle for dialog figure
%   dlgdata     dialog data
%
%   OUTPUT ARGUMENTS
%   - / -


% Author(s): D. Andoleit, T. Pietzsch
% $RCSfile: TLLookupndinterpidxDlg.m $
% $ProjectName: e:/ARC/Components/HostSW/SimulinkBlocksets/TLBlocksets/CommonBlockset/CommonBlockset_SimBlocksUI/Sources/MSrc/project.pj $
% $Revision: 1.4 $
% $Date: 2011/03/08 08:57:41MEZ $
%
% Copyright ?2011 dSPACE GmbH. All rights reserved.

% Forward to common dialog function for all 3 interpolation blocks
[varargout{1:nargout}] = tl_interpolation_dlg(action, varargin{:});
return
